package com.citycloud.ccuap.tc.admin.repository;

import com.citycloud.ccuap.tc.admin.entity.SysDatagroupLevel;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 数据组可用等级数据库操作
 * @author sufeng
 *
 */

@Repository
public interface SysDatagroupLevelRepository extends MybatisRepository<SysDatagroupLevel, String> {
    void deleteByDatagroupId(String objId);

    List<SysDatagroupLevel> findSysDatagroupLevelsByDatagroupId(String datagroupId);
}